package numbersum;

public class TestNumberSum {
    public static void main(String[] args) {
        int sum = getSum(45, 45, 4, 48, 5, 15, 4, 51, 54, 5, 4);
        System.out.println(sum);
    }

    public static int getSum(int... args) {
        System.out.println(args);
        int sum = 0;
        for (int arg : args) {
            sum += arg;

        }
        return sum;
    }
}
